//
//  TKYTitleView.h
//  StationHouseHelper
//
//  Created by apple on 2018/6/19.
//  Copyright © 2018年 铁科院. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TitleViewSelectedDelegate <NSObject>

//协议的一个方法
- (void)tky_titleViewDidSelectItemAtIndexPath:(NSIndexPath *)indexPath;
@end
@interface TKYTitleView : UIView

//代理属性，同时约定作为代理的对象必须实现TitleViewSelectedDelegate协议
 @property (nonatomic,assign) id <TitleViewSelectedDelegate> delegate;  //属性用assign不用retain是为了避免循环引用

@end
